import request from '@/utils/request';

export async function reqTyProjectList(data: any, options?: any): Promise<any> {
	return request('/api/sys/project/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyProject(data: any, options?: any): Promise<any> {
	return request('/api/sys/project/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyProject(data: any, options?: any): Promise<any> {
	return request('/api/sys/project/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyProject(data: any, options?: any): Promise<any> {
	return request('/api/sys/project/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


